<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <title>实时调度</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="icon" th:href="@{/static/console/common/images/favicon.ico}">
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/element/index.css}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/dispatch.css?version=202503181751}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/component/indent-select.css?version=202501071001}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/component/whole-tran.css?version=202501071001}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/component/invoice-handle.css?version=202501071001}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/component/invoice-part-item-rows.css?version=202501071001}"/>
    <link rel="stylesheet" type="text/css"
          th:href="@{/static/console/css/production/component/invoice-detail.css?version=202501071001}"/>
</head>

<body>
<div id="container">
    <div class="tab-operate-box">
        <label>计划:</label><span class="tab-stere plan-stere">*****</span><label>方;</label>
        <label>生产:</label><span class="tab-stere pro-stere">*****</span><label>方;</label>
        <label>车辆:</label><span class="tab-stere pro-car">*****</span><label>车</label>
        <el-switch v-model="needPopUp" @change="showPopUp"
                   active-text="开启弹单" inactive-text="关闭弹单"
                   active-value="1" inactive-value="0">
        </el-switch>
        <!--<el-input size="small"></el-input>-->
        <el-button type="success" icon="el-icon-refresh" @click="loadWorkIndents" size="small">刷新</el-button>
        <el-button type="primary" icon="el-icon-s-help" @click="showWaitIndent" size="small">待供任务单列表</el-button>
        <el-radio-group v-model="tabIndentPro" @input="intsTypeChange" size="small">
            <el-radio-button label="0">所有</el-radio-button>
            <el-radio-button label="1">生产中</el-radio-button>
            <el-radio-button label="3">暂停中</el-radio-button>
        </el-radio-group>
        <!-- 分页数据 -->
        <el-radio-group v-model="tabIndentCast" @input="castModelChange" size="small" fill="#FF8800">
            <el-radio-button label="-1">全部</el-radio-button>
            <template v-for="castMd in castModels">
                <el-radio-button :label="castMd">{{castMd}}</el-radio-button>
            </template>
        </el-radio-group>
        <!--<el-button type="primary" size="small" icon="el-icon-add" @click="showPopUp">
            弹单
        </el-button>-->
        <!--<el-button-group>
            <el-button type="primary" size="small" icon="el-icon-edit"></el-button>
            <el-button type="primary" size="small" icon="el-icon-share"></el-button>
            <el-button type="primary" size="small" icon="el-icon-delete"></el-button>
            <el-button size="small" type="primary">操作</el-button>
        </el-button-group>-->
    </div>
    <el-container class="pro-dispatch-container">
        <el-container>
            <el-main class="pro-indent-box" v-loading="workIndentLoading">
                <!--任务单页面-->
                <template v-for="(indent,index) in workIndents">
                    <el-descriptions :column="6"
                                     :class="activeIndentCard == index ? 'indent-card active-indent-title' : 'indent-card wait-indent-title'"
                                     label-class-name="indent-card-label" content-class-name="indent-card-content"
                                     border
                                     @click.native="changeActiveIndent(index,indent)"
                                     @dblclick.native.stop="showUploadDialog(index,indent)">
                        <template slot="title">
                            {{indent.code}}
                        </template>
                        <template slot="extra">
                            <el-button-group>
                                <!--<el-tooltip class="item" effect="dark" content="点击查看任务单下的送货单" placement="top">
                                    <el-button size="mini" type="primary" icon="el-icon-truck"
                                               @click="showIntInvDialog(indent.id)"></el-button>
                                </el-tooltip>-->
                                <!--<el-button size="mini" type="primary" icon="el-icon-truck"  @click="showIntInvDialog(indent.id)"></el-button>-->
                                <template v-if="indent.type == 1">
                                    <el-tooltip class="item" effect="dark" content="暂停该任务单" placement="top">
                                        <el-popconfirm title="确定暂停该任务单吗？" @confirm="updateProType(indent.id,3)">
                                            <el-button size="mini" type="info" icon="el-icon-video-pause"
                                                       slot="reference"></el-button>
                                        </el-popconfirm>
                                    </el-tooltip>
                                </template>
                                <template v-if="indent.type == 3">
                                    <el-tooltip class="item" effect="dark" content="启用该任务单" placement="top">
                                        <el-popconfirm title="确定启用该任务单吗？" @confirm="updateProType(indent.id,1)">
                                            <el-button size="mini" type="success" icon="el-icon-video-play"
                                                       slot="reference"></el-button>
                                        </el-popconfirm>
                                    </el-tooltip>
                                </template>
                                <el-tooltip class="item" effect="dark" content="结束该任务单" placement="top">
                                    <el-popconfirm title="确定结束该任务单吗(结束后不能再供应)？" @confirm="updateProType(indent.id,2)">
                                        <el-button size="mini" type="danger" icon="el-icon-finished"
                                                   slot="reference"></el-button>
                                    </el-popconfirm>
                                </el-tooltip>
                            </el-button-group>
                        </template>
                        <el-descriptions-item label="项目名称" :span="6" label-class-name="dispatch-con-site"
                                              content-class-name="dispatch-con-site">{{indent.conName}}
                        </el-descriptions-item>
                        <el-descriptions-item label="客户名称" :span="6">{{indent.clientName}}</el-descriptions-item>
                        <el-descriptions-item label="调度开盘时间" :span="6" label-class-name="indent-time"
                                              content-class-name="indent-time">{{indent.dispatchStartTime}}
                        </el-descriptions-item>
                        <el-descriptions-item label="施工部位" :span="6" label-class-name="dispatch-indent-site"
                                              content-class-name="dispatch-indent-site">{{indent.site}}
                        </el-descriptions-item>
                        <el-descriptions-item label="施工标号" :span="5" label-class-name="indent-strength"
                                              content-class-name="indent-strength">{{indent.strengthName}}
                        </el-descriptions-item>
                        <el-descriptions-item label="塌落度" :span="1" label-class-name="indent-three-label">
                            {{indent.slumps}}
                        </el-descriptions-item>
                        <el-descriptions-item label="特性要求" :span="6">{{indent.tech}}</el-descriptions-item>
                        <el-descriptions-item label="车次" :span="5">{{indent.totalCar}}</el-descriptions-item>
                        <el-descriptions-item label="完成量" :span="1" label-class-name="indent-three-label">
                            {{indent.sendStere}}/{{indent.planStere}}
                        </el-descriptions-item>
                        <el-descriptions-item label="浇筑方式" :span="6">{{indent.castModelName}}</el-descriptions-item>
                        <el-descriptions-item label="生产线" :span="6">
                            <template v-for="lineName in indent.lineNameList">
                                <el-tag type="danger" size="mini">{{lineName}}</el-tag>
                            </template>
                        </el-descriptions-item>
                        <el-descriptions-item label="泵送设备" :span="6">{{indent.pumpDeviceName}}</el-descriptions-item>
                        <el-descriptions-item label="工地地址" :span="6" label-class-name="indent-address"
                                              content-class-name="indent-address">{{indent.address}}
                        </el-descriptions-item>
                        <el-descriptions-item label="运输车辆" :span="4" label-class-name="dispatch-car-site"
                                              content-class-name="dispatch-car-site dispatch-caring">
                            <template v-for="caring in indent.carCodeList">
                                <el-tag size="mini" type="success">
                                    <i class="el-icon-truck"></i>{{caring}}
                                </el-tag>
                            </template>
                        </el-descriptions-item>
                    </el-descriptions>
                </template>
            </el-main>
            <el-footer class="pro-invoice-box">
                <el-table :data="invoiceDatas" border height="180" max-height="180">
                    <el-table-column label="生产线"
                                     prop="mixName"
                                     width="80"></el-table-column>
                    <el-table-column prop="code" show-overflow-tooltip
                                     label="发货单号"
                                     width="160"></el-table-column>
                    <el-table-column prop="indentCode" show-overflow-tooltip
                                     label="任务单号"
                                     width="160"></el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="conName"
                                     label="工程名称"
                                     width="240"></el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="site"
                                     label="施工部位"
                                     width="150"></el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="strengthName"
                                     label="砼强度"
                                     width="120">
                    </el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="carCode"
                                     label="搅拌车"
                                     width="120">
                    </el-table-column>
                    <!--<el-table-column show-overflow-tooltip
                                     prop="tech"
                                     label="特性要求"
                                     width="90">
                    </el-table-column>-->
                    <el-table-column label="发货类型"
                                     width="100">
                        <template slot-scope="scope">
                            <template v-if="scope.row.invoiceType == 0">
                                <el-tag>{{scope.row.invoiceTypeTxt}}</el-tag>
                            </template>
                            <template v-else-if="scope.row.invoiceType == 1">
                                <el-tag type="warning">{{scope.row.invoiceTypeTxt}}</el-tag>
                            </template>
                            <template v-else>
                                <el-tag type="info">{{scope.row.invoiceTypeTxt}}</el-tag>
                            </template>
                        </template>
                    </el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="sendStere"
                                     label="发货方量(方)"
                                     width="120">
                    </el-table-column>
                    <!-- <el-table-column show-overflow-tooltip
                                      label="累计车次"
                                      width="120">
                         <template slot-scope="scope">
                             <template v-if="scope.row.process != 6">
                                 {{scope.row.totalCar}}
                             </template>
                         </template>
                     </el-table-column>
                     <el-table-column show-overflow-tooltip
                                      label="累计方量"
                                      width="120">
                         <template slot-scope="scope">
                             <template v-if="scope.row.process != 6">
                                 {{scope.row.totalStere}}
                             </template>
                         </template>
                     </el-table-column>-->
                    <el-table-column show-overflow-tooltip
                                     prop="createTime"
                                     label="派单时间"
                                     width="180">
                    </el-table-column>
                    <!--<el-table-column show-overflow-tooltip
                                     prop="proTime"
                                     label="生产时间"
                                     width="180">
                    </el-table-column>-->

                    <!--<el-table-column show-overflow-tooltip
                                     prop="castModelName"
                                     label="浇筑方式"
                                     width="150">
                    </el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="pumpDeviceName"
                                     label="泵送设备"
                                     width="150">
                    </el-table-column>
                    <el-table-column show-overflow-tooltip
                                     prop="distance"
                                     label="运距(KM)"
                                     width="100"></el-table-column>-->
                    <!--<el-table-column show-overflow-tooltip
                                     prop="driver"
                                     label="司机"
                                     width="120">
                    </el-table-column>-->
                    <!--<el-table-column label="生产方式" width="120">
                        <template slot-scope="scope">
                            <template v-if="scope.row.createType == 0">
                                <el-tag>{{scope.row.createTypeTxt}}</el-tag>
                            </template>
                            <template v-if="scope.row.createType == 1">
                                <el-tag type="success">{{scope.row.createTypeTxt}}</el-tag>
                            </template>
                            <template v-if="scope.row.createType == 2">
                                <el-tag type="warning">{{scope.row.createTypeTxt}}</el-tag>
                            </template>
                            <template v-if="scope.row.createType == 3">
                                <el-tag>{{scope.row.createTypeTxt}}</el-tag>
                            </template>
                        </template>
                    </el-table-column>-->

                    <el-table-column fixed="right" label="状态" width="80">
                        <template slot-scope="scope">
                            <template v-if="scope.row.process == 6">
                                <el-tag type="danger">{{scope.row.processTxt}}</el-tag>
                            </template>
                            <template v-else>
                                {{scope.row.processTxt}}
                            </template>
                        </template>
                    </el-table-column>
                    <!-- <el-table-column fixed="right"
                                      label="操作"
                                      width="120">
                         <template scope="scope">
                             <el-button icon="el-icon-edit" size="mini" type="primary" circle
                                        @click="showSendStere(scope.row.id)"></el-button>
                             &lt;!&ndash;<el-button icon="el-icon-printer" size="mini" type="info" circle
                                        @click="printInvoice(scope.row.id)"></el-button>&ndash;&gt;
                         </template>
                     </el-table-column>-->
                </el-table>
            </el-footer>
        </el-container>
        <!--右侧信息栏-->
        <el-aside width="420px" class="pro-info-box">
            <el-container>
                <el-header class="lines-box">
                    <span class="lines-box-title">生产线派单信息</span>
                    <template v-for="line in proLines">
                        <el-row>
                            <el-col :span="5">
                                <el-tag>
                                    <i class="el-icon-turn-off"></i>{{line.lineName}}
                                </el-tag>
                            </el-col>
                            <el-col :span="19">
                                <template v-for="(dis,ci) in line.disList">
                                    <el-popover placement="left" width="400" trigger="click"
                                                @show="loadInvMiniDetail(dis.invoiceId)" :value="disPopover">
                                        <el-row class="invoice-item-row">
                                            <el-col :span="6" class="invoice-item-label">
                                                <i class="el-icon-user"></i>
                                                派单号
                                            </el-col>
                                            <el-col :span="18" class="invoice-item-desc">
                                                {{dis.code}}
                                            </el-col>
                                        </el-row>
                                        <el-row class="invoice-item-row">
                                            <el-col :span="6" class="invoice-item-label">
                                                <i class="el-icon-odometer"></i>
                                                派单时间
                                            </el-col>
                                            <el-col :span="18" class="invoice-item-desc">
                                                {{dis.createTime}}
                                            </el-col>
                                        </el-row>
                                        <invoice-part-item-rows
                                                :invoice-detail="invoiceDetail"></invoice-part-item-rows>
                                        <el-row class="invoice-item-row">
                                            <el-col :span="6" class="invoice-item-label">
                                                <i class="el-icon-user"></i>
                                                上传方量
                                            </el-col>
                                            <el-col :span="18" class="invoice-item-desc">
                                                {{dis.uploadStere}}
                                            </el-col>
                                        </el-row>
                                        <el-row class="invoice-item-row">
                                            <el-col :span="6" class="invoice-item-label">
                                                <i class="el-icon-user"></i>
                                                操作
                                            </el-col>
                                            <el-col :span="18" class="invoice-item-desc">
                                                <div>
                                                    <el-button size="mini" icon="el-icon-add"
                                                               @click="addDispatch(dis.invoiceId,dis.id)">补料
                                                    </el-button>
                                                    <template v-if="dis.proStatus != 2 ">
                                                        <el-popconfirm title="确定删除该派单吗吗？"
                                                                       @confirm="delDispatch(dis.id)">
                                                            <el-button type="danger" size="mini" icon="el-icon-delete"
                                                                       slot="reference">删除
                                                            </el-button>
                                                        </el-popconfirm>
                                                        <el-tooltip class="item" effect="dark" content="点击切换运输车辆"
                                                                    placement="top">
                                                            <el-button icon="el-icon-truck" size="mini" type="primary"
                                                                       circle
                                                                       @click="showReplaceCar(dis.invoiceId)"></el-button>
                                                        </el-tooltip>
                                                    </template>
                                                </div>
                                                <!--<template v-else>
                                                    &lt;!&ndash; 生产中断操作 &ndash;&gt;
                                                    &lt;!&ndash;<el-button type="danger" size="mini" icon="el-icon-document-delete"
                                                               @click="prodError(dis.id)">生产中断
                                                    </el-button>&ndash;&gt;
                                                </template>-->
                                                <div style="margin-top: 5px">
                                                    <el-button type="success" size="mini" icon="el-icon-refresh"
                                                               @click="refreshLab(dis.id)">消耗
                                                    </el-button>
                                                    <el-button type="primary" size="mini" icon="el-icon-coordinate"
                                                               @click="forceComp(dis.id)">完成
                                                    </el-button>
                                                </div>
                                            </el-col>
                                        </el-row>
                                        <!--  正在生产中对应枚举:InvoiceProcessEnum显示绿色  -->
                                        <el-button slot="reference" :type="dis.proStatus == 2 ? 'success' : ''"
                                                   class="line-car" icon="el-icon-truck" size="mini">{{dis.carCode}}
                                        </el-button>
                                    </el-popover>
                                </template>
                            </el-col>
                        </el-row>
                    </template>
                </el-header>
                <el-main class="cars-box">
                    <el-tabs type="card">
                        <el-tab-pane label="排队中">
                            <el-input v-model="carSearch.queue" placeholder="请输入内容" size="mini" clearable>
                                <el-button slot="append" icon="el-icon-search" @click="loadCarList"
                                           size="mini"></el-button>
                            </el-input>
                            <el-table :data="queueCars" size="mini" class="queue-car" height="22vh" border>
                                <el-table-column label="序号" type="index" width="50"></el-table-column>
                                <el-table-column prop="code" label="自编号" width="80"></el-table-column>
                                <el-table-column prop="carNo" label="车牌号" width="100"></el-table-column>
                                <el-table-column prop="maxStere" label="方量" width="50"></el-table-column>
                                <el-table-column prop="signTime" label="打卡时间" width="180"></el-table-column>
                                <el-table-column label="操作" width="80" fixed="right">
                                    <template slot-scope="scope">
                                        <el-button @click="carClock(scope.row.id,scope.row.code,0)" type="info"
                                                   size="mini">休息
                                        </el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                        </el-tab-pane>
                        <el-tab-pane label="已生产">
                            <el-table :data="completedInvs" size="mini" class="tran-car" height="25vh" border
                                      @row-dblclick="loadInvDetail">
                                <el-table-column label="序号" type="index" width="50"></el-table-column>
                                <el-table-column prop="code" label="自编号" width="80"></el-table-column>
                                <el-table-column prop="carNo" label="车牌号" width="100"></el-table-column>
                                <el-table-column label="操作" width="150">
                                    <template slot-scope="scope">
                                        <el-button @click="carClock(scope.row.id,scope.row.code,0)" type="info"
                                                   size="mini">休息
                                        </el-button>
                                        <el-button @click="carClock(scope.row.id,scope.row.code,1)" type="success"
                                                   size="mini">上号
                                        </el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                        </el-tab-pane>
                        <el-tab-pane label="运输中">
                            <el-table :data="tranInvs" size="mini" class="tran-car" height="25vh" border
                                      @row-dblclick="loadInvDetail">
                                <el-table-column label="序号" type="index" width="50"></el-table-column>
                                <el-table-column prop="code" label="自编号" width="80"></el-table-column>
                                <el-table-column prop="carNo" label="车牌号" width="100"></el-table-column>
                                <el-table-column label="操作" width="150">
                                    <template slot-scope="scope">
                                        <el-button @click="carClock(scope.row.id,scope.row.code,0)" type="info"
                                                   size="mini">休息
                                        </el-button>
                                        <el-button @click="carClock(scope.row.id,scope.row.code,1)" type="success"
                                                   size="mini">上号
                                        </el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                        </el-tab-pane>
                        <el-tab-pane label="休息">
                            <el-input v-model="carSearch.other" placeholder="请输入内容" size="mini" clearable>
                                <el-button slot="append" icon="el-icon-search" @click="loadCarList"
                                           size="mini"></el-button>
                            </el-input>
                            <el-table :data="otherCars" size="mini" class="other-car" height="22vh" border>
                                <el-table-column label="序号" type="index" width="50"></el-table-column>
                                <el-table-column prop="code" label="自编号" width="80"></el-table-column>
                                <el-table-column prop="carNo" label="车牌号" width="100"></el-table-column>
                                <el-table-column label="操作" width="120">
                                    <template slot-scope="scope">
                                        <el-button @click="carClock(scope.row.id,scope.row.code,1)" type="success"
                                                   size="mini">上号
                                        </el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                        </el-tab-pane>
                    </el-tabs>
                </el-main>
                <el-footer class="inv-back-box">
                    <el-tabs type="card">
                        <el-tab-pane label="近10车">
                            <el-table :data="nearlyInvList" border height="200" max-height="200">
                                <el-table-column label="生产线"
                                                 prop="mixName"
                                                 width="80"></el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 prop="carCode"
                                                 label="搅拌车"
                                                 width="90">
                                </el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 prop="strengthName"
                                                 label="砼强度"
                                                 width="80">
                                </el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 prop="sendStere"
                                                 label="发货"
                                                 width="60">
                                </el-table-column>
                                <!--<el-table-column prop="code" show-overflow-tooltip
                                                 label="发货单编号"
                                                 width="160"></el-table-column>-->
                                <el-table-column show-overflow-tooltip
                                                 prop="conName"
                                                 label="工程名称"
                                                 width="240"></el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 prop="site"
                                                 label="施工部位"
                                                 width="150"></el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 label="车次"
                                                 width="60">
                                    <template slot-scope="scope">
                                        {{scope.row.totalCar}}
                                    </template>
                                </el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 label="方量"
                                                 width="60">
                                    <template slot-scope="scope">
                                        {{scope.row.totalStere}}
                                    </template>
                                </el-table-column>
                                <el-table-column show-overflow-tooltip
                                                 prop="proTime"
                                                 label="生产时间"
                                                 width="180">
                                </el-table-column>
                                <el-table-column label="操作" width="50" fixed="right">
                                    <template slot-scope="scope">
                                        <el-button icon="el-icon-upload2" size="mini" type="primary" circle
                                                   @click="showSplitDialog(scope.row)"></el-button>
                                    </template>
                                </el-table-column>
                            </el-table>
                        </el-tab-pane>
                        <el-tab-pane label="退砼处理">
                            <template v-for="invBack in invBackList">
                                <el-popover placement="left" width="400" trigger="click" :value="invBakPopover">
                                    <el-descriptions class="inv-bak-desc-box" title="退砼单详情" :column="1" size="mini"
                                                     border>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-truck"></i>
                                                运输车辆
                                            </template>
                                            {{invBack.carCode}}
                                        </el-descriptions-item>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-coin"></i>
                                                砼标号
                                            </template>
                                            {{invBack.strengthName}}
                                        </el-descriptions-item>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-time"></i>
                                                生产时间
                                            </template>
                                            {{invBack.invoiceProTime}}
                                        </el-descriptions-item>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-time"></i>
                                                退料时间
                                            </template>
                                            {{invBack.weightTime}}
                                        </el-descriptions-item>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-thumb"></i>
                                                退料方量
                                            </template>
                                            {{invBack.weightStere}}
                                        </el-descriptions-item>
                                        <el-descriptions-item>
                                            <template slot="label">
                                                <i class="el-icon-edit-outline"></i>
                                                操作
                                            </template>
                                            <el-button type="primary" icon="el-icon-circle-plus-outline" size="mini"
                                                       @click="showInvBackDis(invBack)">
                                                派单
                                            </el-button>
                                            <el-button type="danger" icon="el-icon-s-release" size="mini"
                                                       @click="scrapInvBack(invBack.id,invBack.operateStere)">作废
                                            </el-button>
                                        </el-descriptions-item>
                                    </el-descriptions>
                                    <div class="handle-order-item" slot="reference">
                                        发货单
                                        <el-link :href="invBack.url" target="_blank" type="primary">
                                            {{invBack.sourceInvoiceCode}}
                                        </el-link>
                                        有
                                        <el-link :underline="false" type="success">
                                            {{invBack.weightStere}}方
                                        </el-link>
                                        退砼需要处理
                                    </div>
                                </el-popover>
                            </template>
                        </el-tab-pane>
                    </el-tabs>
                </el-footer>
            </el-container>
        </el-aside>
    </el-container>
    <template>
        <!--  派单弹窗  -->
        <el-dialog title="加入生产" :visible.sync="uploadDialog.show" center width="70%"
                   :close-on-click-modal="0" custom-class="indent-upload-dialog" v-loading="uploadDialog.loading">
            <!--显示任务单信息-->
            <el-descriptions class="upload-dialog-int-desc" title="任务单信息" :column="2" border
                             label-class-name="upload-indent-label">
                <el-descriptions-item :span="2">
                    <template slot="label">
                        <i class="el-icon-tickets"></i>
                        工程名称
                    </template>
                    {{uploadDialog.indent.conName}}
                </el-descriptions-item>
                <el-descriptions-item :span="2" label-class-name="dispatch-indent-site">
                    <template slot="label">
                        <i class="el-icon-office-building"></i>
                        施工部位
                    </template>
                    {{uploadDialog.indent.site}}
                </el-descriptions-item>
                <el-descriptions-item :span="2" label-class-name="indent-strength">
                    <template slot="label">
                        <i class="el-icon-shopping-cart-1"></i>
                        施工标号
                    </template>
                    {{uploadDialog.indent.strengthName}}
                </el-descriptions-item>
                <el-descriptions-item :span="2">
                    <template slot="label">
                        <i class="el-icon-shopping-cart-1"></i>
                        特性要求
                    </template>
                    {{uploadDialog.indent.tech}}
                </el-descriptions-item>
                <el-descriptions-item>
                    <template slot="label">
                        <i class="el-icon-c-scale-to-original"></i>
                        浇筑方式
                    </template>
                    {{uploadDialog.indent.castModelName}}
                </el-descriptions-item>
                <el-descriptions-item>
                    <template slot="label">
                        <i class="el-icon-coin"></i>
                        泵送设备
                    </template>
                    {{uploadDialog.indent.pumpDeviceName}}
                </el-descriptions-item>
                <el-descriptions-item>
                    <template slot="label">
                        <i class="el-icon-aim"></i>
                        计划方量
                    </template>
                    {{uploadDialog.indent.planStere}}
                </el-descriptions-item>
                <el-descriptions-item>
                    <template slot="label">
                        <i class="el-icon-bangzhu"></i>
                        签收总量
                    </template>
                    100
                </el-descriptions-item>
            </el-descriptions>
            <!--表单信息-->
            <el-form :inline="true" :model="uploadFrom" ref="uploadFrom" class="upload-from"
                     label-width="100px">
                <el-form-item label="发货类型">
                    <el-radio-group v-model="uploadFrom.invoiceType">
                        <el-radio-button label="0">砼</el-radio-button>
                        <el-radio-button label="1">砂浆</el-radio-button>
                    </el-radio-group>
                </el-form-item>
                <!--<template v-if="uploadFrom.invoiceType == 1">
                    &lt;!&ndash;  砂浆需要判断是否累计  &ndash;&gt;
                    <el-form-item label="砂浆是否累计">
                        <el-switch v-model="uploadFrom.sandAccount"
                                   active-text="累计" active-value="1"
                                   inactive-text="不累计" inactive-value="0">
                        </el-switch>
                    </el-form-item>
                </template>-->
                <div>
                    <el-form-item label="生产线">
                        <el-radio-group v-model="uploadFrom.lineId">
                            <template v-for="line in indentLines">
                                <el-radio-button :label="line.id" border size="medium">{{line.name}}</el-radio-button>
                            </template>
                        </el-radio-group>
                    </el-form-item>
                </div>
                <div>
                    <el-form-item label="生产方量">
                        <el-input v-model="uploadFrom.uploadStere" type="number" placeholder="生产方量"></el-input>
                    </el-form-item>
                    <el-form-item label="发货方量">
                        <el-input v-model="uploadFrom.sendStere" type="number" placeholder="发货方量"
                                  @change="sendStereChange"></el-input>
                    </el-form-item>
                </div>
                <div>
                    <el-form-item label="累计车次">
                        <el-input v-model="uploadFrom.totalCar" type="number" placeholder="累计车次"></el-input>
                    </el-form-item>
                    <el-form-item label="累计方量">
                        <el-input v-model="uploadFrom.totalStere" type="number" placeholder="累计方量"></el-input>
                    </el-form-item>
                </div>
                <el-form-item label="运输车辆">
                    <el-select v-model="chooseCar" placeholder="请选择运输车辆" value-key="id" filterable
                               @change="((item) => uploadCarChange(item,'uploadFrom'))">
                        <el-option v-for="item in queueCars"
                                   :key="item.id"
                                   :label="item.code + '(' + item.maxStere + '方)'"
                                   :value="item">
                        </el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="当班司机">
                    <!--<el-input v-model="uploadFrom.driver"></el-input>-->
                    <el-select v-model="chooseDriver" @change="((item) => uploadDriver(item,'uploadFrom'))"
                               filterable allow-create
                               default-first-option no-data-text="车辆无打卡数据,请输入司机"
                               placeholder="请选择车辆对应的司机">
                        <el-option v-for="driver in driverList"
                                   :key="driver.id"
                                   :label="driver.name"
                                   :value="driver">
                        </el-option>
                    </el-select>
                </el-form-item>
                <!--<template v-if="indentPumpDevs != null && indentPumpDevs.length > 0">
                    <el-form-item label="泵送设备">
                        <el-select v-model="uploadFrom.pumpDeviceId" placeholder="请选择泵送设备">
                            <el-option v-for="item in indentPumpDevs"
                                       :key="item.id"
                                       :label="item.name"
                                       :value="item.id">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </template>-->
                <div>
                    <el-form-item label="备注">
                        <el-input v-model="uploadFrom.remark" type="textarea" :rows="1"></el-input>
                    </el-form-item>
                </div>
            </el-form>
            <div slot="footer" class="dialog-footer">
                <el-button type="primary" icon="el-icon-s-help" @click="uploadLine">确认</el-button>
                <el-button @click="uploadDialog.show = false">取 消</el-button>
            </div>
        </el-dialog>
    </template>
    <template>
        <el-dialog title="待供任务单列表" :visible.sync="waitIndentDialog.show" width="95%" center
                   :close-on-click-modal="0" :show-close="0" custom-class="wait-indent-dialog">
            <el-date-picker v-model="waitSearch.startDate"
                            type="datetime"
                            :value-format="tableSearch.dateFormat"
                            placeholder="起始日期">
            </el-date-picker>
            <el-date-picker v-model="waitSearch.endDate"
                            type="datetime"
                            :value-format="tableSearch.dateFormat"
                            placeholder="截止日期">
            </el-date-picker>
            <el-button type="success" icon="el-icon-search" @click="loadWaitIndents">查询</el-button>
            <el-table ref="waitIndentTable" :data="waitIndentList" @selection-change="waitIndentChange"
                      height="500" border style="width: 100%" v-loading="waitIndentDialog.loading">
                <el-table-column type="selection"
                                 width="55"></el-table-column>
                <el-table-column label="序号"
                                 type="index"
                                 width="50"></el-table-column>
                <el-table-column label="任务单编号"
                                 show-overflow-tooltip
                                 prop="code"
                                 width="210"></el-table-column>
                <el-table-column label="工程名称"
                                 show-overflow-tooltip
                                 prop="conName"
                                 width="240"></el-table-column>
                <el-table-column label="施工部位"
                                 show-overflow-tooltip
                                 prop="site"
                                 width="240"></el-table-column>
                <el-table-column label="施工单位"
                                 show-overflow-tooltip
                                 prop="builder"
                                 width="240"></el-table-column>
                <el-table-column label="砼标号"
                                 show-overflow-tooltip
                                 prop="strengthName"
                                 width="180"></el-table-column>
                <el-table-column label="浇筑方式"
                                 show-overflow-tooltip
                                 prop="castModelName"
                                 width="150"></el-table-column>
                <el-table-column label="塌落度"
                                 show-overflow-tooltip
                                 prop="slumps"
                                 width="120"></el-table-column>
                <el-table-column label="工地要求开盘时间"
                                 show-overflow-tooltip
                                 prop="builderStartTime"
                                 width="240"></el-table-column>
            </el-table>
            <div slot="footer" class="dialog-footer">
                <el-button type="primary" icon="el-icon-s-help" @click="tranProIndent">转正供</el-button>
                <el-button @click="waitIndentDialog.show = false">取 消</el-button>
            </div>
        </el-dialog>
    </template>
    <template>
        <el-dialog title="发货单弹单" :visible.sync="popUpDialog.show" center width="60%"
                   :close-on-click-modal="0" custom-class="pop-invoice-dialog" v-loading="popUpDialog.loading">
            <el-descriptions title="任务单信息" :column="6" size="mini" border class="pop-up-invoice-box">
                <el-descriptions-item label="发货单编号" :span="2">
                    {{popUpInvoiceForm.code}}
                </el-descriptions-item>
                <el-descriptions-item label="任务单号" :span="2">
                    {{popUpInvoiceForm.indentCode}}
                </el-descriptions-item>
                <el-descriptions-item label="小票抬头" :span="2">
                    小票抬头
                </el-descriptions-item>
                <el-descriptions-item label="工程名称" :span="2">
                    {{popUpInvoiceForm.conName}}
                </el-descriptions-item>
                <el-descriptions-item label="客户名称" :span="2">
                    {{popUpInvoiceForm.clientName}}
                </el-descriptions-item>
                <el-descriptions-item label="施工单位" :span="2">
                    {{popUpInvoiceForm.builder}}
                </el-descriptions-item>
                <el-descriptions-item label="工地地址" :span="2">
                    {{popUpInvoiceForm.address}}
                </el-descriptions-item>
                <el-descriptions-item label="工地联系人" :span="2">
                    {{popUpInvoiceForm.linkMan}}
                </el-descriptions-item>
                <el-descriptions-item label="工地联系电话" :span="2">
                    {{popUpInvoiceForm.linkPhone}}
                </el-descriptions-item>
                <br>
                <el-descriptions-item label="施工部位" :span="6">
                    {{popUpInvoiceForm.site}}
                </el-descriptions-item>
                <el-descriptions-item label="强度等级" :span="2">
                    {{popUpInvoiceForm.strengthName}}
                </el-descriptions-item>
                <el-descriptions-item label="特性要求" :span="2">
                    {{popUpInvoiceForm.tech}}
                </el-descriptions-item>
                <el-descriptions-item label="塌落度" :span="2">
                    {{popUpInvoiceForm.slumps}}
                </el-descriptions-item>
                <el-descriptions-item label="浇筑方式" :span="2">
                    {{popUpInvoiceForm.castModelName}}
                </el-descriptions-item>
                <el-descriptions-item label="泵送设备" :span="2">
                    {{popUpInvoiceForm.pumpDeviceName}}
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                </el-descriptions-item>
                <el-descriptions-item label="泵送类型" :span="2">
                    {{popUpInvoiceForm.pumpTypeName}}
                </el-descriptions-item>
                <el-descriptions-item label="泵送规格" :span="2">
                    {{popUpInvoiceForm.pumpNormName}}
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                </el-descriptions-item>
                <el-descriptions-item label="调度员" :span="2">
                    {{popUpInvoiceForm.dispatcherName}}
                </el-descriptions-item>
                <el-descriptions-item label="拌台操作员" :span="2">
                    {{popUpInvoiceForm.mixUserName}}
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                </el-descriptions-item>
                <el-descriptions-item label="计划方量" :span="2">
                    {{popUpInvoiceForm.planStere}}
                </el-descriptions-item>
                <el-descriptions-item label="本车生产方量" :span="2" label-class-name="keynote-info"
                                      content-class-name="keynote-info">
                    <!--<el-input v-model="popUpInvoiceForm.proStere" size="mini" readonly></el-input>-->
                    <div class="pop-up-invoice-box-stere">{{popUpInvoiceForm.proStere}}</div>
                </el-descriptions-item>
                <el-descriptions-item label="转入方量" :span="2" label-class-name="keynote-info"
                                      content-class-name="keynote-info">
                    <!--<el-input v-model="popUpInvoiceForm.inStere" size="mini" readonly></el-input>-->
                    <div class="pop-up-invoice-box-stere">{{popUpInvoiceForm.inStere}}</div>
                    <el-button icon="el-icon-view" size="mini" type="success" @click="showInvHandle"></el-button>
                </el-descriptions-item>
                <!-- <el-descriptions-item label="累计签收方量" :span="2">
                     签收方量
                 </el-descriptions-item>
                 <el-descriptions-item label="累计退回方量" :span="2">
                     退回方量
                 </el-descriptions-item>
                 <el-descriptions-item label="累计砼方量" :span="2">
                     累计砼方量
                 </el-descriptions-item>
                 <el-descriptions-item label="累计砂浆方量" :span="2">
                     累计砂浆方量
                 </el-descriptions-item>
                 <el-descriptions-item label="累计水车车次" :span="2">
                     累计水车车次
                 </el-descriptions-item>-->
            </el-descriptions>
            <el-descriptions title="发货单信息" :column="6" size="mini" border class="pop-up-invoice-box">
                <el-descriptions-item label="发货方量" :span="2" label-class-name="keynote-info"
                                      content-class-name="keynote-info">
                    <el-input v-model="popUpInvoiceForm.sendStere" size="mini"></el-input>
                </el-descriptions-item>
                <!--<el-descriptions-item label="泵送设备" :span="6">
                    <el-select v-model="popUpInvoiceForm.pumpDevice" placeholder="请选择泵送设备" size="mini">
                        <el-option v-for="item in indentPumpDevs"
                                   :key="item.id"
                                   :label="item.name"
                                   :value="item.id">
                        </el-option>
                    </el-select>
                </el-descriptions-item>-->
                <el-descriptions-item label="生产时间" :span="2">
                    <el-date-picker v-model="popUpInvoiceForm.proTime" size="mini"
                                    type="datetime" value-format="yyyy-MM-dd HH:mm:ss" placeholder="选择生产时间">
                    </el-date-picker>
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                    <div class="pop-up-invoice-box-stere"></div>
                </el-descriptions-item>
                <el-descriptions-item label="发货单类型" :span="2">
                    <!--<el-input v-model="popUpInvoiceForm.invoiceType" size="mini"></el-input>-->
                    <el-radio-group v-model="uploadFrom.invoiceType" size="mini">
                        <el-radio-button label="0">砼</el-radio-button>
                        <el-radio-button label="1">砂浆</el-radio-button>
                    </el-radio-group>
                </el-descriptions-item>
                <el-descriptions-item label="生产线" :span="2">
                    <el-select v-model="popUpInvoiceForm.mixId" placeholder="请选择生产线" size="mini">
                        <el-option v-for="item in proLines"
                                   :key="item.lineId"
                                   :label="item.lineName"
                                   :value="item.lineId">
                        </el-option>
                    </el-select>
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                    <div class="pop-up-invoice-box-stere"></div>
                </el-descriptions-item>
                <el-descriptions-item label="运输车辆" :span="2">
                    <el-select v-model="popUpInvoiceForm.carId" placeholder="请选择运输车辆" size="mini">
                        <el-option v-for="item in allCarList"
                                   :key="item.id"
                                   :label="item.code"
                                   :value="item.id">
                        </el-option>
                    </el-select>
                </el-descriptions-item>
                <el-descriptions-item label="运输司机" :span="2">
                    <el-input v-model="popUpInvoiceForm.driver" size="mini"></el-input>
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                    <div class="pop-up-invoice-box-stere"></div>
                </el-descriptions-item>
                <el-descriptions-item label="道路运输类型" :span="2">
                    <el-select v-model="popUpInvoiceForm.roadType" size="mini" filterable clearable placeholder="道路类型"
                               value-key="id">
                        <el-option v-for="item in roadTypeList"
                                   :key="item.code"
                                   :label="item.desc"
                                   :value="item.code">
                        </el-option>
                    </el-select>
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                    <div class="pop-up-invoice-box-stere"></div>
                </el-descriptions-item>
                <el-descriptions-item label="" :span="2">
                    <div class="pop-up-invoice-box-stere"></div>
                </el-descriptions-item>
                <el-descriptions-item label="备注" :span="6">
                    <el-input type="textarea" :rows="2" v-model="popUpInvoiceForm.remark" size="mini"></el-input>
                </el-descriptions-item>
                <el-descriptions-item label="运输备注" :span="6">
                    <el-input type="textarea" :rows="2" v-model="popUpInvoiceForm.tranRemark" size="mini"></el-input>
                </el-descriptions-item>
                <el-descriptions-item label="泵送备注" :span="6">
                    <el-input type="textarea" :rows="2" v-model="popUpInvoiceForm.pumpRemark" size="mini"></el-input>
                </el-descriptions-item>
            </el-descriptions>
            <div slot="footer" class="dialog-footer">
                <el-button type="primary" icon="el-icon-circle-check" size="small" @click="savePopInvoice">保存
                </el-button>
                <!--<el-button type="primary" icon="el-icon-s-help" size="small">保存</el-button>-->
                <el-button type="info" icon="el-icon-printer" size="small" @click="printPopInvoice">打印</el-button>
                <el-button type="primary" icon="el-icon-circle-plus-outline" size="small"
                           @click="showInvDispatch(popUpInvoiceForm.id,popUpInvoiceForm.indentId)">补料
                </el-button>
                <el-button type="primary" icon="el-icon-upload2" size="small" @click="tranDialog.show = true">整车转料
                </el-button>
                <el-popconfirm title="确定作废该发货单吗？" @confirm="scrapInvoice(popUpInvoiceForm.id)">
                    <el-button type="danger" icon="el-icon-folder-delete" size="small" slot="reference">作废</el-button>
                </el-popconfirm>
                <el-button @click="popUpDialog.show = false" size="small">取 消</el-button>
            </div>
        </el-dialog>
    </template>
    <!--  整车转料  -->
    <whole-tran-dialog v-if="tranDialog.show" :source-invoice="popUpInvoiceForm"
                       @closed="tranDialog.show = false"></whole-tran-dialog>
    <!-- 发货单退剩转记录 -->
    <invoice-handle-dialog v-if="tranRecordDialog.show" :invoice-id="tranRecordDialog.id"
                           @closed="tranRecordDialog.show = false"></invoice-handle-dialog>
    <!--  发货单详情  -->
    <invoice-detail-dialog v-if="detailDialog.show" :invoice-id="detailDialog.invoiceId"
                           @closed="detailDialog.show = false"></invoice-detail-dialog>
    <!-- 分车转料操作 -->
    <split-tran-dialog v-if="splitDialog.show" :source-invoice="tranSourceInvoice"
                       @closed="closeTranDialog"></split-tran-dialog>
    <!-- 派单换车弹窗 -->
    <el-dialog title="派单换车" :visible.sync="replaceCarDialog.show" center width="60%"
               :close-on-click-modal="0" v-loading="replaceCarDialog.loading">
        <el-form :inline="true" :model="replaceCarForm" ref="replaceCarForm" class="upload-from" label-width="100px">
            <!--<el-form-item label="运输车辆">
                <el-select v-model="replaceCarForm.carId" placeholder="请选择运输车辆">
                    <el-option v-for="item in queueCars"
                               :key="item.id"
                               :label="item.code"
                               :value="item.id">
                    </el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="当班司机">
                <el-input v-model="replaceCarForm.driver"></el-input>
            </el-form-item>-->
            <el-form-item label="运输车辆">
                <el-select v-model="chooseCar" placeholder="请选择运输车辆" value-key="id"
                           @change="((item) => uploadCarChange(item,'replaceCarForm'))">
                    <el-option v-for="item in queueCars"
                               :key="item.id"
                               :label="item.code"
                               :value="item">
                    </el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="当班司机">
                <el-select v-model="chooseDriver" @change="((item) => uploadDriver(item,'replaceCarForm'))"
                           filterable allow-create
                           default-first-option no-data-text="车辆无打卡数据,请输入司机"
                           placeholder="请选择车辆对应的司机">
                    <el-option v-for="driver in driverList"
                               :key="driver.id"
                               :label="driver.name"
                               :value="driver">
                    </el-option>
                </el-select>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="submitReplaceCar">确定</el-button>
            <el-button @click="cancelReplaceCar">取 消</el-button>
        </div>
    </el-dialog>
    <!--  发货单弹单后的补料数据  -->
    <el-dialog title="发货单补料" :visible.sync="addInvDispatchDialog.show" center width="20%"
               :close-on-click-modal="0" v-loading="addInvDispatchDialog.loading">
        <el-form label-width="100px">
            <el-form-item label="生产线">
                <el-radio-group v-model="addInvDispatchForm.lineId">
                    <template v-for="line in indentLines">
                        <el-radio-button :label="line.id" border size="medium">{{line.name}}</el-radio-button>
                    </template>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="补料方量">
                <el-input v-model="addInvDispatchForm.stere"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="submitInvDisForm">确定</el-button>
            <el-button @click="cancelInvDisForm">取 消</el-button>
        </div>
    </el-dialog>
    <el-dialog title="退砼补料" :visible.sync="invBakDispatchDialog.show" center width="70%"
               :close-on-click-modal="0" v-loading="invBakDispatchDialog.loading"
               custom-class="inv-bak-dispatch-dialog">
        <el-form label-position="right" label-width="140px" :inline="true" :model="invBakDispatchForm"
                 ref="invBakDispatchForm">
            <indent-select @change="invBakDisIndentChange" :pro-type="1"
                           v-if="invBakDispatchDialog.show"></indent-select>
            <!--表单信息-->
            <div>
                <el-form-item label="生产方量">
                    <el-input v-model="invBakDispatchForm.uploadStere" type="number" placeholder="生产方量"></el-input>
                </el-form-item>
                <el-form-item label="发货方量">
                    <el-input v-model="invBakDispatchForm.sendStere" type="number" placeholder="发货方量"
                              @change="backSendStereChange"></el-input>
                </el-form-item>
            </div>
            <div>
                <el-form-item label="累计车次">
                    <el-input v-model="invBakDispatchForm.totalCar" type="number" placeholder="累计车次"></el-input>
                </el-form-item>
                <el-form-item label="累计方量">
                    <el-input v-model="invBakDispatchForm.totalStere" type="number" placeholder="累计方量"></el-input>
                </el-form-item>
            </div>
            <div>
                <el-form-item label="生产线">
                    <el-select v-model="invBakDispatchForm.lineId" placeholder="请选择生产线">
                        <el-option v-for="item in indentLines"
                                   :key="item.id"
                                   :label="item.name"
                                   :value="item.id">
                        </el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="备注">
                    <el-input v-model="invBakDispatchForm.remark" type="textarea" :rows="1"></el-input>
                </el-form-item>
            </div>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" icon="el-icon-s-help" @click="submitInvBackDis">确认</el-button>
            <el-button @click="invBakDispatchDialog.show = false">取 消</el-button>
        </div>
    </el-dialog>
</div>
</body>
<script type="text/javascript" th:src="@{/static/console/assets/js/jquery-3.2.1.min.js}"></script>
<script type="text/javascript" th:src="@{/static/console/js/pages/base.js}" charset="utf-8"></script>
<script type="text/javascript" th:src="@{/static/js/vue.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/element/index.js}"></script>
<script type="text/javascript" th:src="@{/static/console/datepicker/jquery-datePicker.js}" charset="utf-8"></script>
<script th:src="@{/static/console/js/pages/production/component/indent-select.js?version=202504031025}"></script>
<script th:src="@{/static/console/js/pages/production/component/invoice-select.js?version=202504031026}"></script>
<script th:src="@{/static/console/js/pages/production/component/whole-tran.js?version=202505161106}"></script>
<script th:src="@{/static/console/js/pages/production/component/split-tran.js?version=202505071041}"></script>
<script th:src="@{/static/console/js/pages/production/component/invoice-detail.js?version=202501071001}"></script>
<script th:src="@{/static/console/js/pages/production/component/invoice-handle.js?version=202501071001}"></script>
<script th:src="@{/static/console/js/pages/production/component/invoice-part-item-rows.js?version=202501071002}"></script>
<script type="text/javascript" th:src="@{/static/console/js/pages/production/dispatch.js?version=202506131045}"
        charset="utf-8"></script>

</html>